#ifndef __SC_ZIP_H__
#define __SC_ZIP_H__

#ifdef __cplusplus
extern "C"
{
#endif

int gzcompress(const char *src, int len, char *dst, int maxlen);
int gzdecompress(const char *src, int len, const char *dst, int maxlen);
int zip_file(const char *srcpath, const char *dstpath);
int zip_file_worker(const char *srcpath, const char *dstpath,
                    pthread_mutex_t *lock);

#ifdef __cplusplus
}
#endif
#endif

